BigCommerce\Cart\Cart_Mapper S

Total Complexity 43
Dependencies 17
Dependents 5
Total lines 436
Lines of code 310
Logical lines of code 107
Comment lines 86
Methods 19
Properties 2

Methods 19

Method Rating Maintainability Complexity Lines of code
prepare_base_item()
A
38 4 81
prepare_gift_certificate_item()
S
44 3 50
identify_channel()
S
55 5 20
map()
S
46 3 46
get_max_quantity()
S
61 4 14
get_variant()
S
62 4 12
prepare_line_item()
S
66 3 9
get_thumbnail_id()
S
67 2 7
calculate_total_tax()
S
68 2 6
format_currency()
S
70 2 6
get_variant_sku()
S
74 2 4
get_terms()
S
69 2 6
map_coupon_data()
S
60 1 14
get_options()
S
64 1 10
format_term()
S
69 1 7
get_product()
S
75 1 4
cart_items()
S
70 1 6
get_coupons_discount_amount()
S
73 1 5
__construct()
S
81 1 3